/**
 * This software is copyrighted by Bosch Connected Devices and Solutions GmbH, 2016.
 * The use of this software is subject to the XDK SDK EULA
 */

#ifndef MAGNETOMETER_H_
#define MAGNETOMETER_H_

/* public interface declaration */

/* public type and macro definitions */
#define INIT_DONE       UINT8_C(1)
#define INIT_NOT_DONE   UINT8_C(0)
#define BMM150_SUCCESS  INT8_C(0)
#define GET_MAPPING_ERROR                 INT8_C(-2)
#define PACKAGE_ID_DEFAULT                UINT32_C(0)/**< default package ID*/
#define BMM150_MAX_LIMIT_XAXIS   INT32_C(20800)   /**< Maximum limit for x-axis  */
#define BMM150_MAX_LIMIT_YAXIS   INT32_C(20800)   /**< Maximum limit for y-axis  */
#define BMM150_MAX_LIMIT_ZAXIS   INT32_C(40000)   /**< Maximum limit for z-axis  */
#define BMM150_CONVERSION_FACTOR  UINT8_C(4)      /**< tesla conversion factor */

/* public function prototype declarations */


#endif /* MAGNETOMETER_H_ */

